package com.wang.test.demo.putong;

import java.util.concurrent.atomic.AtomicInteger;

public enum PhoneEnum {
    PHONE_ENUM;
    private AtomicInteger count = new AtomicInteger(10000);

    public int getReduce(){
        return count.decrementAndGet();
    }
//    private Single instance;
//    PhoneEnum() {
//        instance = new Single();
//    }
    public PhoneEnum getInstance() {
        return PHONE_ENUM;
    }



}
